//
//  TKIMLogHelper.h
//  TKIMSDKLibrary
//
//  Created by liupm on 2017/12/1.
//  Copyright © 2017年 liupm. All rights reserved.
//

#import <Foundation/Foundation.h>

#define TKIMPrintInfo(frmt, ...) [TKIMLogHelper log:TKIMLogLevelInfo info:(frmt), ##__VA_ARGS__]
#define TKIMPrintWarn(frmt, ...) [TKIMLogHelper log:TKIMLogLevelWarn info:(frmt), ##__VA_ARGS__]
#define TKIMPrintError(frmt, ...) [TKIMLogHelper log:TKIMLogLevelError info:(frmt), ##__VA_ARGS__]

typedef NS_ENUM(NSInteger,TKIMLogLevel)
{
    TKIMLogLevelInfo,
    TKIMLogLevelWarn,
    TKIMLogLevelError
};

@interface TKIMLogHelper : NSObject

+(void)log:(TKIMLogLevel)logLevel  info:(NSString *)info,...;

@end


